package com.example.demo.shops.repository;

import com.example.demo.shops.bean.ShopBean;
import com.example.demo.sicktype.bean.SickTypeBean;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ShopRepository extends JpaRepository<ShopBean,Long>{

    List<ShopBean> findAllBySickTypeBean(SickTypeBean bean);
}
